package by.dvrudenko.avtobaza.webapp.utils.security;

import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.authorization.Action;
import org.apache.wicket.authroles.authorization.strategies.role.annotations.AuthorizeAction;
import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.model.IModel;

@AuthorizeAction(action = Action.RENDER, roles = { "ADMIN" })
	public abstract class SecuredLinkForAdminAjax extends AjaxLink<Void> {
	
		public SecuredLinkForAdminAjax(String id, IModel<String> iModel) {
			super(id);
		}
		public SecuredLinkForAdminAjax(String id) {
			super(id);
		}		
		
		
	}



